package com.xuecheng.ucenter.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author achao
 * @version 1.0
 */
@FeignClient(value ="checkcode",fallbackFactory = CheckCodeFactory.class)
public interface CheckCodeFeignClient {
    @PostMapping(value = "/checkcode/verify")
    public Boolean verify(@RequestParam("key") String key, @RequestParam("code") String code);
}
